package com.geek.video.service.impl;

import com.geek.video.mapper.HomeConfigDao;
import com.geek.video.domain.HomeConfig;
import com.geek.video.service.HomeConfigService;
import com.geek.video.service.dto.HomeConfigDTO;
import com.geek.video.utils.BeanAndMapTransform;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 首页配置表(HomeConfig)表服务实现类
 *
 * @author qinxh
 * @since 2021-01-25 16:33:39
 */
@Service("homeConfigService")
public class HomeConfigServiceImpl implements HomeConfigService {

    @Resource
    private HomeConfigDao homeConfigDao;


    @Override
    public HomeConfigDTO queryById(Integer id) {
        return null;
    }

    @Override
    public List<HomeConfigDTO> queryAll(HomeConfigDTO homeConfigDTO) {
        return null;
    }

    @Override
    public HomeConfigDTO insert(HomeConfigDTO homeConfigDTO) {
        return null;
    }

    @Override
    public HomeConfigDTO update(HomeConfigDTO homeConfigDTO) {
        return null;
    }

    @Override
    public Boolean deleteById(Integer id) {

        return this.homeConfigDao.deleteById(id) > 0;
    }
}